<div class="modal-header">
    <h3 class="modal-title h4">您有{{unreadResult.totalCount}}条未读消息!</h3>
</div>
<div class="modal-body">
    <div class="panel m-n">
        <ul class="list-group list-group-lg m-b-none">
            <li class="list-group-item" ng-repeat="item in unreadResult.list">
                <a style="color: #428bca;text-decoration: underline;"  ui-sref="app.noticeDetail({id:item.id})" ng-click="confirmNotice(item.id,item.createdTime)">{{ item.name|textLengthSet:true:20:'...' }}</a>
                <span class="pull-right">
                    <label class="label label-warning" ng-if='item.type==0'>系统公告</label>
                    <label class="label label-default" ng-if='item.type==2'>城市运营公告</label>
                </span>
            </li>
        </ul>
    </div>
    <div class="text-center" ng-if="unreadResult.totalCount > 10">
        <a>
            <font style="color:#23b7e5;">查看更多...</font>
        </a>
    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-default" ng-click="cancel()">取消</button>
    <a class="btn btn-success" ui-sref="app.notice"  ng-click="ok()" >前往平台公告中心</a>
</div>